package org.asiainfo.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * 角色和菜单关联表  角色1-N菜单(SysRoleMenu)实体类
 *
 * @author dotor-ww
 * @since 2024-01-21 20:25:25
 */
@Data
@Table("sys_role_menu")
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenu implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @Column(value = "role_id")
    private Long roleId;
    /**
     * 菜单ID
     */
    @Column(value = "menu_id")
    private Long menuId;
}

